﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace HugeFlow.OOB
{
    public class OOBHelper
    {
        /// <summary>
        /// Elevation된 퍼미션을 가진 채 OOB로 구동 중인지의 여부
        /// </summary>
        /// <returns></returns>
        public static bool IsRunningOOBWithPermission
        {
            get
            {
                return Application.Current.IsRunningOutOfBrowser && Application.Current.HasElevatedPermissions;
            }
        }
    }
}
